package com.hyd.springIOC.controller;

import com.hyd.springIOC.service.HydService;
import com.hyd.springIOC.stereotype.Autowired;
import com.hyd.springIOC.stereotype.Component;

@Component
public class HydController {
    @Autowired
    private HydService hydService;

    public void hydtest(){
        hydService.test();
    }
}
